home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4394 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Subject: Re: ChangeScreenBuffer()
  2. References: <4gl1e7$r6s@oreig.uji.es> <1996Feb24.154556.15537@imada.ou.dk> <4gt3dq$6fg@oreig.uji.es>
  3. X-Newsreader: TIN [version 1.2 PL2]
  4. Path: imada.ou.dk!breese
  5. From: breese@imada.ou.dk (Bjorn Reese)
  6. Message-ID: <1996Feb28.190533.23231@imada.ou.dk>
  7. Sender: news@imada.ou.dk
  8. Nntp-Posting-Host: ravel.imada.ou.dk
  9. Organization: Dept. of Math. & Computer Science, Odense University, Denmark
  10. Date: Wed, 28 Feb 1996 19:05:33 GMT
  11. Newsgroups: comp.sys.amiga.programmer
  12.  
  13. Jorge Acereda Macia (ii202@rossegat.uji.es) wrote:
  14. > Bjorn Reese (breese@imada.ou.dk) wrote:
  15.  
  16. > Anyway, if there's no intuition rendering, there shouldn't be
  17. > problems if I ignore ChangeScreenBuffer's return code...
  18. > right?
  19.  
  20. I guess so. Dunno what the future might bring though ;)
  21.  
  22. > There's is another issue... Pressing the depth gadget will freeze
  23. > the game/demo until you release it. Any solution?
  24.  
  25. None, that I can think of. However, chances are that if the user
  26. is pressing the depth gadget, (s)he's isn't paying attention to
  27. the game/demo and probably wants it to freeze.
  28.  
  29. > > some example in NDK called doublebuffer.c, I believe) However, this
  30. > > can give some strange results under some circumstances, so I prefer
  31. > > WaitTOF().
  32. >
  33. > I had no problem with it... What problems do you refer to?
  34.  
  35. Let's see if I can remember it...
  36.  
  37. Put your double-buffering screen behind another. Drag the frontmost
  38. screen down 20-30 rasterlines. Watch your double-buffering swap at
  39. an amazingly high rate.
  40.  
  41. --
  42. Bjorn Reese                      Email: breese@imada.ou.dk
  43. Odense University, Denmark       URL:   http://www.imada.ou.dk/~breese
  44.  
  45. "It's getting late in the game to show any pride or shame" - Marillion
  46.